hasNetwork

open fun hasNetwork(): Boolean

The part of the config that is specific to the Wifi Settings
.meshtastic.Config.NetworkConfig network = 4;

Return

Whether the network field is set.